home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c-part1 / 2742 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  672 b 

  1. Path: news.fmso.navy.mil!usenet
  2. From: Carol_Walker@fmso.navy.mil (Carol Walker)
  3. Newsgroups: comp.lang.c
  4. Subject: Function to retrieve full path name of running process?
  5. Date: 23 Jan 1996 16:39:56 GMT
  6. Organization: FMSO
  7. Message-ID: <4e330s$o25@news.fmso.navy.mil>
  8. NNTP-Posting-Host: zm00489-ws1.fmso.navy.mil
  9. Mime-Version: 1.0
  10. X-Newsreader: WinVN 0.93.10
  11.  
  12. Is there a function that a process running on a Unix system can call
  13. to determine the full path name of its object file?  argv[0] doesn't 
  14. contain the full path, only the command used to execute it.
  15.  
  16. Thanks in advance.
  17.  
  18. Carol Walker
  19. US Navy Fleet Material Support Office
  20. Mechanicsburg, PA
  21. carol_walker@fmso.navy.mil
  22.  
  23.